#!/bin/bash
echo $$ >> /tmp/wsd/log.txt
for ((COUNT = 1; COUNT <= 1000000; COUNT++)); do
  echo $COUNT
  sleep 1
done
